package com.gitee.linzl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.sidecar.EnableSidecar;

/**
 * 有点类似无中心化的网关，在此做
 * 请求转发、限流控制、安全认证、服务发现、负载均衡、故障处理、监控上报、日志记录
 *
 * @author linzhenlie
 * @date 2019/9/16
 */
@SpringBootApplication
@EnableSidecar
public class SidecarApplication {
    public static void main(String[] args) {
        SpringApplication.run(SidecarApplication.class, args);
    }
}